<%--
  Created by IntelliJ IDEA.
  User: root
  Date: 2020/4/1
  Time: 9:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>上传</title>
    <script src="/a/b/c/jquery.min.js"></script>
    <script src="/js/jquery.min.js"></script>
</head>
<body>

<!--
    上传文件时form表单要求：
    1 method ： post
    2 enctype:  multipart/form-data

 -->

<form action="${pageContext.request.contextPath}/upload_file" method="post" enctype="multipart/form-data">
    <input type="hidden" value="1" name="flag" />
    上传文件1:<input type="file" name="myfile"/><br/>
    上传文件2:<input type="file" name="myfile"/><br/>

    <input type="submit" value="上传"/>

</form>


</body>
</html>